Unit Test Trainer
open class UnitTestTrainer(val minLevel: Level = Level.VERBOSE, showTimestamp: Boolean = true) : Trainer(source)
UnitTestTrainer handles simple console logging during tests on iOS.
This trainer provides clean, uncolored output during tests using NSLog(). Unlike NSLogTrainer, it adds configurable timestamps and structured level labels, making it easier to read test output at a glance.
Since
0.2.0
Parameters
min Level
Minimum log level to output (defaults to VERBOSE - shows all)
show Timestamp
Whether to include timestamps in output (defaults to true)